package org.ddr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.ddr.vo.TestVO;

public interface PreziDAO {

	@Select("select classname, content, data_x, data_y, data_z, data_rotate_x, data_rotate_y, data_rotate_z, data_rotate, data_scale from tbl_prezitest ")
	public List<TestVO> testPreziOne() throws Exception;

	@Insert("insert into tbl_prezitest (sildeno,classname, content, data_x, data_y, data_z,data_rotate_x,data_rotate_y,data_rotate_z,data_rotate, data_scale) "
			+ "VALUES (seq_sildeno.nextval, #{className}, #{content}, #{data_x}, #{data_y}, #{data_z}, #{data_rotate_x}, #{data_rotate_y}, #{data_rotate_z}, #{data_rotate}, #{data_scale})")
	public void testEditor(TestVO vo) throws Exception;

}
